package eu.log;

import java.util.Date;

import eu.data.util.RollFetchDataSource;

public class QueryFace implements QueryInterface {
	Storage storage=null;
	
	QueryFace(Storage storage){
		this.storage=storage;
	}
	@Override
	public RollFetchDataSource<Log> getByPeriod(Date start, Date end) {
		return storage.getByPeriod(start, end);
	}

	@Override
	public RollFetchDataSource<Log> getByPeriod(long start, long end) {
		return storage.getByPeriod(start, end);
	}

	@Override
	public RollFetchDataSource<Log> getByClient(String clientIdentity) {
		return storage.getByClient(clientIdentity);
	}

	@Override
	public RollFetchDataSource<Log> getByRank(Rank rank) {
		return storage.getByRank(rank);
	}
	
	@Override
	public RollFetchDataSource<Log> getAll() {
		return storage.getAll();
	}


}
